<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="vue.js"></script>
</head>
<body>
    <div id="app">
            <div v-for="(item,key,index) in object">{{index}} = {{key}} = {{item}}</div>
            <div v-for="(i,n) in 10">{{n}}={{i}}</div>
            <div v-for="(s,i) in str">{{i}} = {{s}}</div>
    </div>
    <script>
        let vm = new Vue({
            el:"#app",
            data:{
                str:'jfjafajfajf',
                arr:[
                    {title:"111"},
                    {title:"222"}
                ],
                // 对象有3个值 值，下标值，属性
                object:{
                    name:"111",
                    age:15
                }
            }
        })
    </script>
</body>
</html>